package com.devops.admin.po;

import io.fabric8.kubernetes.api.model.apps.DeploymentCondition;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * @ClassName DOSK8sDeployment
 * @Description TODO
 * @Author hepingguo
 * @Date 2022/5/18 16:03
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DOSK8sDeployment implements Serializable {

    private String created;

    private String name;

    private String namespace;

    private String[] labels;

    private String[] annotations;

    private String replicasStr;

    private String[] selector;

    private String strategyType;

    private List<DeploymentCondition> conditions;

    private String cpu;

    private String memory;

    private Integer replicas;

    private Integer scale;
}
